package com.subl;

import com.subl.mybatis.annotation.MapperScan;
import com.subl.mybatis.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScans({
        @MapperScan(value = "com.subl.mapper", dataSource = "ds0"),
        @MapperScan(value = "com.subl.mapper2", dataSource = "ds1")
})
public class HelloApplication {
    public static void main(String[] args) {
        SpringApplication.run(HelloApplication.class);
    }
}
